i can convert html pdf thing cant display information want, wish display location searched using api google map.
i have in controller
public actionresult generatepdf() { return new rotativa.actionaspdf("select"); } and link in view
<a href="generatepdf">convert</a>
the html pdf library used isn't able generate static image javascript google map.
you shoud use static maps api map image , include inside html.
the following example contains url of static map image of downtown new york city:
https://maps.googleapis.com/maps/api/staticmap?center=brooklyn+bridge,new+york,ny&zoom=13&size=600x300&maptype=roadmap&markers=color:red%7clabel:s%7c40.702147,-74.015794
Comments
Post a Comment